package com.lm.model;

import java.util.Date;

/**
 * LmSuggest entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Suggest implements java.io.Serializable {

	// Fields

	private int id;

	private int userId;

	private Date suggestTime;

	private String suggestName;

	private String content;

	private int isShow;

	private int typeId;

	// Constructors

	/** default constructor */
	public Suggest() {
	}

	/** minimal constructor */
	public Suggest(int userId, String content, int isShow, int typeId) {
		this.userId = userId;
		this.content = content;
		this.isShow = isShow;
		this.typeId = typeId;
	}

	/** full constructor */
	public Suggest(int userId, Date suggestTime, String suggestName, String content,
			int isShow, int typeId) {
		this.userId = userId;
		this.suggestTime = (Date)suggestTime.clone();
		this.suggestName = suggestName;
		this.content = content;
		this.isShow = isShow;
		this.typeId = typeId;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public Date getSuggestTime() {
		return (Date)this.suggestTime.clone();
	}

	public void setSuggestTime(Date suggestTime) {
		this.suggestTime = (Date)suggestTime.clone();
	}

	public String getSuggestName() {
		return this.suggestName;
	}

	public void setSuggestName(String suggestName) {
		this.suggestName = suggestName;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getIsShow() {
		return this.isShow;
	}

	public void setIsShow(int isShow) {
		this.isShow = isShow;
	}

	public int getTypeId() {
		return this.typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

}